import { http } from '@/utils/http'

// 通过名字搜索专业
export const ApiQueryMajorByName = (params) => {
  return http.get('/app-api/member/major/list', params)
}

// 获得专业列表一级层级
export const ApiGetOneMajorList = () => {
  return http.get('/app-api/member/major/oneList')
}

//获得专业列表二级层级
export const ApiGetTwoMajorList = (params) => {
  return http.get('/app-api/member/major/twoList', params)
}

//获得专业列表三级层级
export const ApiGetThreeMajorList = (params) => {
  return http.get('/app-api/member/major/threeList', params)
}
//获得专业详情
export const ApiGetMajorDetail = (params) => {
  return http.get('/app-api/member/major/get', params)
}

// 就业占比
export const ApiGetMajorEmploymentRatio = (params) => {
  return http.get('/app-api/member/major/getMajorObtainDO', params)
}
